<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/16 0016
 * Time: 14:25
 */

namespace app\admin\validate;

use think\Validate;
class CateValidate extends Validate
{
    protected $rule = [
        ['cate_name', 'unique:category', '该分类名已经存在']
    ];
}